package com.yzt;

import java.util.Scanner;

public class AnimalTest {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入动物的种类:");
        String a = scanner.next();
        System.out.println("请输入动物的性别:");
        String b = scanner.next();
        Animal animal01 = new Animal(a,b);
        System.out.println(animal01);
    }


}
